Skip to main content
Feedback

Traffic Shadowing policy

Traffic shadowing allows you to asynchronously copy API traffic to another service. The policy duplicates requests and sends them to the target URL. You can enrich the request with additional headers.

note

If you apply the Traffic Shadowing policy to an API, it takes precedence and ignores the max retry attempts you configure in execution settings.

Timing

On RequestOn ResponseOn Request ContentOn Response Content
X

Configuration

PropertyRequiredDescriptionDefaultExample
targetyesThe shadow endpoint URL.
headersnoA list of HTTP headers.

Example

{
"traffic-shadowing": {
"target": "http://boomitest.com/shadowApi",
"headers": [
{
"name": "X-Boomi-Request-Id",
"value": "{#request.id}"
}
]
}
}
On this Page